package ex_class;

public enum JavaType {
	SHORT("짧은정수형", 2), INT("정수형", 4), DOUBLE("실수형", 8);
	
	final private String typeName;
	final private int length;
	
	JavaType(String typeName, int length) {
		this.typeName = typeName;
		this.length = length;
	}
	
	String getName() {
		return this.typeName;
	}
	
	int getLength() {
		return this.length;
	}
	
}
